import request from '@/utils/request'

// 查询会议结论列表
export function listMtConclusion(query) {
  return request({
    url: '/conclusion/mtConclusion/list',
    method: 'get',
    params: query
  })
}

// 查询会议结论详细
export function getMtConclusion(id) {
  return request({
    url: '/conclusion/mtConclusion/' + id,
    method: 'get'
  })
}

// 查询会议结论详细
export function getMtConclusionByDealId(dealId) {
  return request({
    url: '/conclusion/mtConclusion/getByDealId/' + dealId,
    method: 'get'
  })
}

// 根据meetingId查询会议结论详细
export function getMtConclusionByMeetingId(meetingId) {
  return request({
    url: '/conclusion/mtConclusion/getMtConclusionByMeetingId/' + meetingId,
    method: 'get'
  })
}

// 保存会议结论
export function saveMtConclusion(data) {
  return request({
    url: '/conclusion/mtConclusion/save',
    method: 'post',
    data: data
  })
}

// 删除会议结论
export function delMtConclusion(id) {
  return request({
    url: '/conclusion/mtConclusion/' + id,
    method: 'delete'
  })
}

// 导出会议结论
export function exportMtConclusion(query) {
  return request({
    url: '/conclusion/mtConclusion/export',
    method: 'get',
    params: query
  })
}

// 删除交办事项
export function delMtTask(id) {
  return request({
    url: '/conclusion/mtTask/' + id,
    method: 'delete'
  })
}
